<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ page import="java.util.*,com.carsite.webapp.help.ModuleMenuHelp"%>

<html:form action="moduleMenus.html" method="post" styleId="userForm">
	<input type="hidden" name="method" value="login"/>
				              <table width="90%" border="0" cellspacing="0" cellpadding="0">
				                  <tr>
				                    <td align="center">
						                     <table border="0" cellspacing="0" cellpadding="0">
						                        
						                          <c:choose>
													<c:when test="${not empty currentUser }" >
													<b>欢迎您！<c:out value="${currentUser.firstName }"/></b>
													 <a href="users.html?method=changePwd" target="contentPage">修改密码</a>
													</c:when>
													<c:otherwise>
								                       <tr>
								                          <td>用户名：</td>
								                          <td>
								                         <input type="text" name="username" size="15"/>
								                         </td>
								                        </tr>
								                        <tr>
								                          <td>密 码：</td>
								                          <td>
								                         <input type="password" name="password" size="15"/>
								                         </td>
								                        </tr>
								                         <tr>
								                          <td width="50" align="center">
									                        <input type="submit" value="登 录"/>
								                          </td>
								                          
								                          
								                        </tr>
						                         	</c:otherwise>
	                                              </c:choose>
						                        
						                    </table>
				                    </td>
				                  </tr>
				                  <tr>
				                    <td height="8"></td>
				                  </tr>
				                  
				              </table>
                              </html:form> 
<%/****/%>

<table width="195" border="0" cellpadding="0" cellspacing="0">
  <tr>
   
 
    <td width="170"  height="587" align="left" valign="top" >   
			<table width="160" border="0">
			
			<tr>
					<td width="3">&nbsp;</td>
					<td width="167">
						
						    
				       <link type="text/css" rel="stylesheet" href="tree/xtree.css">
					   <script src="tree/xtree_0.js"></script>
					   <script language="javascript">
					      function onSelMenu(id,type){
							if(type==0){
							     window.parent('contentPage').location.href="moduleMenus.html?method=articlesList&menuId="+id;
							     
							 }else if(type=1){
							     window.parent('contentPage').location.href="moduleMenus.html?method=articlesList&menuId="+id;
							 }
							 
						  }     
				       </script>
					   
	  
					</td>
				</tr>
			  </table>

    </td>
  </tr>
</table>
